Use this repository to create issues for the LCZ-Generator.
- if you think your issue might be sensitive reach out directly to us.
You can't reach the LCZ Generator? Have a look at the status status page
- fix data tables appearance after 2.0.0 changes
- upgrade requirements
- add bootstrap styling to the accuracy slider
- update dependencies
- update dependencies
- add an sri-checker as pre-commit hook and in CI to avoid invalid SRI-hashes ending up in production
- update the links for the global LCZ map to point to the updated version in earthengine
- make the css/js upgrade write atomically
- migrate the dependency management from
requirements-tools
topip-tools
- fix a bug where the selection of rows for download was not possible due to a js/css hash being invalid
- update dependencies
- change the order of the leaflet layer in the display of the global LCZ-Map so they appear similar to a GIS
- update dependencies (CVE in Werkzeug)
- update dependencies
- update FAQ with multi-temporal LCZ mapping which is now open-source on GitHub
- add versioning to tile map services (TMS). Now version
v2
and versionv3
are available as well as alatest
version always pointing towards the latest available version (currentlyv3
). To avoid breaking existing connections to the TMS, old urls will now redirect to the latest version. This way was selected since no versioning was provided for the old urls hence updates can be expected (similar to open street map). The documentation was updated accordingly.
- update dependencies #442
- update FAQ with multi-temporal LCZ mapping which is now open-source on GitHub #446
- add feature to allow inverting coordinates for multiple Tile Map Services #445
- update requirements
- Make the generic error email a little more specific and suggest a fix. Since most unhandled errors are caused by too few training areas
- change the license from CC BY-SA to CC BY-NC-SA. To be fully transparent: The following changes were applied to the license:
commit fb5cfabcf92fdeac19775542f9a78e8daf4e449e
Author: Jonas Kittner
Date: Wed Jun 14 18:22:31 2023 +0200
change the licence from CC BY-SA to CC NC-BY-SA
diff --git a/dashboard/templates/attribution_text.html b/dashboard/templates/attribution_text.html
index 0f48c48..69adffc 100644
--- a/dashboard/templates/attribution_text.html
+++ b/dashboard/templates/attribution_text.html
@@ -31,7 +31,7 @@
<li>
{{ content.LASTNAME|e }}, {{ content.FIRSTNAME|e }}
({{ content.SUBMISSIONDATE[:4]|e }}). WUDAPT Level 0 training data for {{ content.CITY|e }} ({{ content.COUNTRY|e }}), submitted to
- the LCZ Generator. This dataset is licensed under CC BY-SA, and more information is available at
+ the LCZ Generator. This dataset is licensed under CC BY-NC-SA, and more information is available at
<a
href="https://lcz-generator.rub.de/factsheets/{{ content.HASHID|e }}/{{ content.HASHID|e }}_factsheet.html"
>
diff --git a/dashboard/templates/tos_text.html b/dashboard/templates/tos_text.html
index 09aaca0..77dee0e 100644
--- a/dashboard/templates/tos_text.html
+++ b/dashboard/templates/tos_text.html
@@ -1,11 +1,12 @@
<p class="tm-p-mb">
All data are distributed under the
- <a href="https://creativecommons.org/licenses/by-sa/4.0/" target="_blank">
- CC BY-SA 4.0 license</a>. In particular, permission is hereby granted, free
- of charge, to any person obtaining a copy of this data and associated
- documentation files, to copy and redistribute the material in any medium or
- format, and to remix, transform, and build upon the material for any purpose,
- even commercially, all subject to the following:
+ <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank"
+ >CC BY-NC-SA 4.0 license</a
+ >. In particular, permission is hereby granted, free of charge, to any person
+ obtaining a copy of this data and associated documentation files, to copy and
+ redistribute the material in any medium or format, and to remix, transform,
+ and build upon the material for non-commercial use only, all subject to the
+ following:
</p>
<ul>
<li>
- Document how to use the tile map service (TMS) of the global LCZ map in qgis and
contextily
- update requirements
- migrate to
sqlalchemy
>= 2.0 - make the codebase python3.11+
- migrate to bootstrap 5. Attribution Guidelines, Terms of Service and Declaration of Consent now show up as a modal instead of a popup
- update requirements
- fix a bug where mixed geometry type (
Polygon
andLineString
) caused the training area database insert to fail.
- tests against python 3.11
- update requirements
- fix warning and remove pinning of scikit-learn for
min_samples
ofDBSCAN
- fix a bug where nothing was logged, because the log level was set incorrectly set to
ERROR
(the default) instead ofINFO
- fix a bug where no errors were sent to sentry, because the
DSN
was set incorrectly - fix a bug where the DOI did not point to the generic DOI within Zenodo.
- fix a typo in the integrity check of the
leaflet.js
library - Now the email also takes the original casing into account
- fix deprecation warnings
- vendor all used images directly to not rely on 3rd parties
- update all external
css
andjs
that is used - check the integrity of every
js
andcss
- update the dependencies
- render the date displayed in the submission table in the user's timezone and format
- keep the casing the user entered when submitting. Do not capitalize it anymore. Existing records were updated using
INITCAP
to be compatible. - make the codebase python3.10+ (using
pyupgrade
)
- implement a script for safely requeueing a submission. A few prerequisite need to be fulfilled before being able to requeue. If one was not satisfied, the user got a second error email. (almost all necessary requeues are caused by an unstable internet connection at the data center or an outage of the university-Email service - both are outside of what we can fix (we already have a dozen exponentially backed off retries))
- do not test against python 3.9 anymore, since the deployed version is python 3.10
- extent
mypy
checking and add missing type annotations - the codebase is python3.10+ now removing most imports from
typing
and only testing against python 3.10 also configuringpre-commit
accordingly - fix some test pollution that was caused by incorrectly mocking the
mapping_process
- fix broken link to institute logo
- fix a bug where the logger handler was not cleared properly
- update dependencies
- add link to Google Earth Engine and show code snippet
- update requirements
- improve the error emails
- improve error and performance monitoring
- implement an XYZ tile map server for the global LCZ map
- implement an inverted y-axis redirect for the global LCZ map tile map server
- fix broken shp links in shape files. Previously only the
.shp
could be downloaded
- update requirements
- add new API to request the quality control polygons and point shape files
- upgrade version of
Pillow
because9.1.0
had a CVE-2022-30595
- change internal dependency management tool
- multiple version upgrades, now all bundled in one PR
- dependency updates
- dependency updates
- Show the full firstname in the citation suggestion for the training areas
- CI improvements
- test speed improvements
- pre-commit autoupdate
- dependency updates
- improve the loading speed of the submission table
- extend the submission form expiration time (Error CSRF Token expired)
- add more retries to all email sending calls to address reoccurring short outages of the RUB-Email service
- dependency updates
- fix a bug where cases with two folders in the input file, but one only with 1 polygon were not rejected and the processing would fail in the end
- fix a bug where filenames with not a single ascii character would cause an internal server error
- dependency updates
- make the error message for too few polygons more explicit
- fix a typo on the index page
- fix a bug where an error
403
was raised when trying to access*.kmz
files - fix a bug where a file just called
.kml
or.kmz
would cause and internal server error500
- dependency updates
- add item to FAQ for submission deletion
- added two missing tiles for EO data in eastern Alaska
- fix a bug where a training area file would pass the quality check, even though it only had one LCZ class
- fix a bug where a submission was not fully removed, even though the initial check failed
- dependency updates
- do not send the processed results via email anymore, generate only a download link in the email
- add a
.kmz
file with the LCZ map and already applied colormap to the archive- a link for the download of this file is also included in the factsheet
- fix a bug where a missing asset in earthengine would cause the mapping process to fail
- dependency updates
- fix/handle an (upstream) bug where the asset ingest would randomly fail, but succeed on the second try
- dependency updates
- fix a bug where an internal server error (500) would be raised if the
kml
file had an invalid syntax and could not be parsed - fix a bug where the quality control would fail
- fix a bug where 2 dimensional
kml
files (only two coordinates, no z coordinate) would cause an error. 2D polygons are now converted to 3D polygons, adding 0 as the new z-value - fix a bug where an invalid
kmz
file caused an internal server error (500) - fix a typo
succesfully
→successfully
- dependency updates
- add a new web message for the invalid
kmz
file case
- improve the internal error notification system
- add the final reference and DOI for the paper: Demuzere et al. (2021)
- restructure
/
- index page
- add a
/faq
route - add a quality disclaimer to the top of the submission page
- add a getting started to the index page
- fix a bug where multi part features could not be processed. The features are now split up into single part features so the quality check can work on the individual polygons
- add a
/robots.txt
route so crawlers can access it
- fix a bug where fonts were missing
- fix a bug where the qc failed when an LCZ class was present in the training data, but not in the final result coming from earth engine
- fix a bug where the deprecation of
ee.Classifier.randomForest
caused the mapping process to fail - fix a bug where a submission would be displayed in the
/submission
table even though it failed - fix a bug where the colors of the provided LCZ color maps and the used colors would differ from each other
- fix a bug where a mapping process would not terminate if the earth engine mapping process failed
- change the header in the Terms of Service page for the Declaration of Consent to be the same font size
- use a
.clr
ArcGIS ascii formatted colormap
- add a favicon route at
/favicon.ico
- limit the size of incoming request to max 10 MB
- fix a bug where not always the best result per author and city was displayed in the show best submission table
- fix bug where burger menu could not be closed on the submission table page
- fix general typos
- change html page title of the index page from
Index
to toLCZ Generator
- link in page footer for github issues now points to the issue overview instead of the form where a github user account was required
- update Terms of Service
- split Terms of Service and Attributions in separate sections in the factsheet
- add a Privacy Note to the footer
- results are now sent via a different email address
- the LCZ Generator is now accessible via a shorter url:
https://lcz-generator.rub.de
- the histogram of the number of Training Areas per class now only shows integer values on the y-axis
- whitespace escape sequences are now removed in the reference and remarks section
- add colormaps for QGIS and ArcGIS to the results zip archive
- add a suggestion for citing the training data to the factsheet
- fix bug where leading and trailing whitespaces was not stripped in firstname, lastname and city
- added footers to all pages including useful links
- added a navbar to improve navigation between different pages
- fix typo on index page footer
- change
Freq
toCount
in<id>_TA_statistics.csv
- update the Terms of Service: now using
CC-BY
- update the background image of the index page with the new filtered version of the european LCZ map
- add link to wudapt.org in the index page footer
- change paper status from in preperation to submitted
- fixed a bug where the country selection was not kept when reloading the page or after being redirected from the same page
- the
/country/<continen_code>
-API now only takes arguments with length2
.- all other requests are not executed, instead aborted with error
400
(Bad Request)
- all other requests are not executed, instead aborted with error
- reformat all
html
templates
- add popover to the publish name and email checkbox
- a
?
is now present. When hovering over it, a help message is displayed